Easter 2017
Some more work over the break to push the code a bit further and see what can be done.
- Added simple (very simple) signal model
- Added some more train types
- Added some simple routing options
And a first step in making the layout editable :-)
- Added code to save layout to XML file and read an XML file
- Added features to save layout (to server)
- Added simple edit controls to add track / delete track / add signals etc
Also, just to see if was possible, exported a layout from Rail3D on the PC and loaded it into R3DW, so far just the track is imported, but sucessfully imported a 40-50 mile route and it runs OK in R3DW at the moment.
So, current state is.
- Simulation runs in browser, tested in
- Chrome on PC and iPad
- Internet Explorer on PC
- Safari on iPad
- Some issues on iPad unresolved, eg crashing on reload, cause currently unknown
- Can lay track and place signals.
- Trains run, obey signals and follow track.
- Can save and reload layouts.
- The signal model (both the 3D model and the logic) are really simple and need a lot of work.
- Some train models load and work, others don't. I don't know ATM why some do and some don't, and need to do some work on the 3D model format etc.
- Also, the 3D model download is a bit bandwidth heavy and needs some work to cache the data and reuse.
- Can save and load layouts to the server, but this needs more code to be able to accomodate multiple users.
- The node/link model needs optimising
- Track model is non-existant. ATM just draws a line, needs a decent graphic for the track
You can see it for yourself at http://www.rail3d.info/other/r3dw/app/r3dw.htm
R3DW
MRG 18/04/2017 19:51:30